package com.esunny.resourcevisualization.domain.entity;

/**
 * @version 1.0.0.0
 * @ClassName ResourceTypeField
 * @Description 资源类别字段
 * @Author baochencong
 * @Date 2020/9/26 13:12
 */
public class ResourceTypeField {

    /**
     * 资源类别字段id
     */
    private int resourceTypeFieldId;

    /**
     * 资源类别字段英文名
     */
    private String resourceTypeFieldName;

    /**
     * 资源类别字段中文名
     */
    private String resourceTypeFieldTitle;

    /**
     * 资源类别字段单位
     */
    private String resourceTypeFieldUnit;

    /**
     * 资源类别字段数据类型
     */
    private String resourceTypeFieldType;

    /**
     * 资源类别字段
     */
    private String resourceTypeName;

    /**
     * 资源类别字段数据是否必填
     */
    private boolean resourceTypeFieldRequired;

    /**
     * 枚举组英文名
     */
    private String enumGroupName;

    public int getResourceTypeFieldId() {
        return resourceTypeFieldId;
    }

    public void setResourceTypeFieldId(int resourceTypeFieldId) {
        this.resourceTypeFieldId = resourceTypeFieldId;
    }

    public String getResourceTypeFieldName() {
        return resourceTypeFieldName;
    }

    public void setResourceTypeFieldName(String resourceTypeFieldName) {
        this.resourceTypeFieldName = resourceTypeFieldName;
    }

    public String getResourceTypeFieldTitle() {
        return resourceTypeFieldTitle;
    }

    public void setResourceTypeFieldTitle(String resourceTypeFieldTitle) {
        this.resourceTypeFieldTitle = resourceTypeFieldTitle;
    }

    public String getResourceTypeFieldUnit() {
        return resourceTypeFieldUnit;
    }

    public void setResourceTypeFieldUnit(String resourceTypeFieldUnit) {
        this.resourceTypeFieldUnit = resourceTypeFieldUnit;
    }

    public String getResourceTypeFieldType() {
        return resourceTypeFieldType;
    }

    public void setResourceTypeFieldType(String resourceTypeFieldType) {
        this.resourceTypeFieldType = resourceTypeFieldType;
    }

    public String getResourceTypeName() {
        return resourceTypeName;
    }

    public void setResourceTypeName(String resourceTypeName) {
        this.resourceTypeName = resourceTypeName;
    }

    public String getEnumGroupName() {
        return enumGroupName;
    }

    public void setEnumGroupName(String enumGroupName) {
        this.enumGroupName = enumGroupName;
    }

    public boolean isResourceTypeFieldRequired() {
        return resourceTypeFieldRequired;
    }

    public void setResourceTypeFieldRequired(boolean resourceTypeFieldRequired) {
        this.resourceTypeFieldRequired = resourceTypeFieldRequired;
    }

    @Override
    public String toString() {
        return "ResourceTypeField{" +
                "resourceTypeFieldId=" + resourceTypeFieldId +
                ", resourceTypeFieldName='" + resourceTypeFieldName + '\'' +
                ", resourceTypeFieldTitle='" + resourceTypeFieldTitle + '\'' +
                ", resourceTypeFieldUnit='" + resourceTypeFieldUnit + '\'' +
                ", resourceTypeFieldType='" + resourceTypeFieldType + '\'' +
                ", resourceTypeName='" + resourceTypeName + '\'' +
                ", enumGroupName='" + enumGroupName + '\'' +
                '}';
    }
}
